﻿using System;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using Microsoft.ApplicationBlocks.Data;
namespace AnyOffice
{
    public partial class index : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SqlConnection sqlConnection = new SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]);
            SqlHelper.ExecuteNonQuery(sqlConnection, CommandType.Text, "SELECT GETDATE()");
            sqlConnection.Close();
            Response.Redirect("login.aspx");           

        }       
       
    }
}